home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / tsr / xsnap.zip / README < prev    next >
Text File  |  1992-11-09  |  2KB  |  48 lines

  1.  
  2.    xsnap is a program that allows one to interactively take a "snapshot" of a
  3.    region of the screen.  This snapshot is then saved to a window. I've found
  4.    it useful for such things as comparing a window's "before and after"
  5.    pictures when debugging graphics code, and quicker than using xwd and xwud
  6.    when there's no other reason to save a window to a file.  However, it does
  7.    eat up server memory, since it creates a pixmap for each snapshot.
  8.  
  9.    It also illustrates how one can have a user interactively specify a region
  10.    of the screen or of a window using rubberbanding. The code for doing so is
  11.    pretty self-contained and, if one is interested, it should be pretty easy
  12.    to rip it out and use it in something else.
  13.  
  14.    As with all free code: no warranty, any shape, any color.
  15.  
  16.                            -- Clauss Strauch
  17.                    internet:  cbs@cad.cs.cmu.edu
  18.                uucp:  ...!harvard!cs.cmu.edu!cbs
  19.                      BITnet:  cbs@cad.cs.cmu.edu%CMCCVMA
  20.  
  21.   xsnap has been renamed to asnap by Bill Janssen who has added code to allow
  22.   saving the snapped image in "xwd" and "ATK raster" formats and specifying
  23.   the region to snap in args rather than interactively.
  24.  
  25.    Bill Janssen
  26.    Xerox Palo Alto Research Center
  27.    janssen@parc.xerox.com
  28.  
  29.  
  30.   Then Arnaud Le Hors fixed asnap code to handle correctly the region option,
  31.   added code to allow saving the snapped image in XPM format, and renamed it
  32.   to xsnap as originaly.
  33.  
  34.    Arnaud LE HORS
  35.    BULL Research FRANCE -- Koala Project
  36.    lehors@mirsa.inria.fr
  37.  
  38.  
  39. COMPILATION HINTS:
  40.  
  41.    Edit the Imakefile to set XPM_INCLUDES, XPMLIB variables to whatever fits
  42.    to your environment.
  43.    DEFINES is set by default to -DATK -DXPM in order to compile with atk
  44.    and xpm features but can be redefined as you want.
  45.  
  46.    The last version of XPM can always be found by ftp in contrib on
  47.    expo.lcs.mit.edu and in pub on avahi.inria.fr.
  48.